/* Tale Page Styles */
.tale-container {
  min-height: 100vh;
  background: #f8f9fa;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 图片区域样式 */
.image-section {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.image-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 大故事卡片样式 */
.large-story-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 2rem auto;
  max-width: 1200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.large-story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.large-story-header {
  padding: 2rem 2rem 1rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.large-story-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  margin-bottom: 1rem;
}

.large-story-divider {
  width: 60px;
  height: 3px;
  background: white;
  margin: 0 auto;
  border-radius: 2px;
}

.large-story-content {
  display: flex;
  min-height: 400px;
}

.large-story-image {
  flex: 0 0 50%;
  overflow: hidden;
  position: relative;
}

.large-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.large-story-card:hover .large-story-image img {
  transform: scale(1.05);
}

.large-story-text {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
}

.large-story-subtitle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.large-story-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.large-story-button {
  align-self: flex-start;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.large-story-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.large-story-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.large-story-button:hover .large-story-arrow {
  transform: translateX(3px);
}

/* 更多故事区域 */
.more-stories {
  background: #f8f9fa;
  padding: 4rem 0;
}

.stories-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .large-story-content {
    flex-direction: column;
  }
  
  .large-story-image {
    flex: none;
    height: 300px;
  }
  
  .large-story-text {
    padding: 2rem;
  }
  
  .large-story-title {
    font-size: 2rem;
  }
  
  .large-story-subtitle {
    font-size: 1.5rem;
  }
  
  .our-story-card {
    padding: 3rem 4rem;
  }
  
  .our-story-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 768px) {
  .image-section {
    height: 250px;
  }
  
  .large-story-card {
    margin: 1rem;
    border-radius: 15px;
  }
  
  .large-story-header {
    padding: 1.5rem 1rem 1rem 1rem;
  }
  
  .large-story-title {
    font-size: 1.8rem;
  }
  
  .large-story-text {
    padding: 1.5rem;
  }
  
  .large-story-subtitle {
    font-size: 1.3rem;
  }
  
  .large-story-description {
    font-size: 1rem;
  }
  
  .large-story-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .image-section {
    height: 200px;
  }
  
  .large-story-header {
    padding: 1rem 0.8rem 0.8rem 0.8rem;
  }
  
  .large-story-title {
    font-size: 1.5rem;
  }
  
  .large-story-text {
    padding: 1rem;
  }
  
  .large-story-subtitle {
    font-size: 1.2rem;
  }
  
  .large-story-description {
    font-size: 0.9rem;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.large-story-card {
  animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
.tale-container::-webkit-scrollbar {
  width: 8px;
}

.tale-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.tale-container::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 4px;
}

.tale-container::-webkit-scrollbar-thumb:hover {
  background: #764ba2;
}

/* 我们的故事卡片样式 */
.our-story-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.our-story-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/image/4.webp');
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  opacity: 0.4;
  z-index: 1;
}

.our-story-card {
  position: relative;
  z-index: 2;
  background-color: white;
  border-radius: 16px;
  padding: 4rem 5rem;
  max-width: 1200px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  margin: 0 auto;
  text-align: center;
}

.our-story-title {
  font-size: 2.3rem;
  font-weight: normal;
  color: #000;
  margin: 0 0 1.5rem 0;
  font-family: sans-serif;
  text-align: left;
}

.our-story-divider {
  width: 2050px;
  height: 1px;
  background-color: #ddd;
  margin: 0 0 3rem 0;
  max-width: 100%;
  overflow: hidden;
}

.story-cards-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.story-card {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  text-align: left;
}

.story-card-image {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.story-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-card-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #000;
  margin: 0;
  line-height: 1.4;
}

.story-card-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.story-card-link {
  align-self: flex-end;
  margin-top: auto;
}

.story-card-link span {
  color: #000;
  font-size: 1rem;
  font-weight: normal;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .tale-container {
    padding: 0 10px;
  }
  
  .large-story-card {
    margin: 1rem 0.5rem;
  }
  
  .our-story-section {
    padding: 3rem 1rem;
  }
  
  .our-story-card {
    padding: 2rem 1.5rem;
    max-width: 95%;
    width: 95%;
  }
  
  .our-story-title {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .our-story-divider {
    width: 50px;
    margin: 0 auto 2rem auto;
  }
  
  .story-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .story-card-image {
    width: 150px;
    height: 150px;
    align-self: center;
  }
  
  .story-card-title {
    font-size: 1.2rem;
  }
  
  .story-card-description {
    font-size: 0.9rem;
  }
  
  .story-card-link {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .tale-container {
    padding: 0 5px;
  }
  
  .large-story-card {
    margin: 0.5rem;
    border-radius: 10px;
  }
  
  .large-story-header {
    padding: 1rem 0.8rem;
  }
  
  .large-story-title {
    font-size: 1.4rem;
  }
  
  .large-story-text {
    padding: 1rem;
  }
  
  .large-story-subtitle {
    font-size: 1.1rem;
  }
  
  .large-story-description {
    font-size: 0.85rem;
  }
  
  .large-story-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .our-story-section {
    padding: 2rem 0.5rem;
  }
  
  .our-story-card {
    padding: 1.2rem 1rem;
    width: 98%;
  }
  
  .our-story-title {
    font-size: 1.5rem;
  }
  
  .our-story-divider {
    width: 30px;
    margin: 0 auto 1.5rem auto;
  }
  
  .story-card {
    padding: 1rem;
    gap: 1rem;
  }
  
  .story-card-image {
    width: 100px;
    height: 100px;
  }
  
  .story-card-title {
    font-size: 1rem;
  }
  
  .story-card-description {
    font-size: 0.8rem;
  }
}